package com.immunology.service;

import java.util.Map;

import com.immunology.logic.validators.NameSurmameFieldsValidator;

public class PatientRegistrationValidService extends RegistrationValidService {
	private static final String FIRST_NAME = "firstName";
	private static final String MIDDLE_NAME = "middleName";
	private static final String LAST_NAME = "lastName";
	private static final String GENDER = "gender";
	private static final String BIRTHDAY = "birthday";
	private static final String COUNTRY = "country";
	private static final String REGION = "region";
	private static final String DISTRICT = "district";
	private static final String CITY = "city";
	private static final String STREET = "street";
	private static final String HOUSE = "house";
	private static final String FLAT = "flat";

	protected Map<String, String> parametersValidation(
			Map<String, String> parameters) {
		map = setNotNullParameters(parameters);
//		NameSurmameFieldsValidator validator = new NameSurmameFieldsValidator();
//		if (!validator.validate(parameters.get(FIRST_NAME))) {
//			map.put(FIRST_NAME, WRONG_PARAMETER);
//		}
//		if (!validator.validate(parameters.get(MIDDLE_NAME))) {
//			map.put(MIDDLE_NAME, WRONG_PARAMETER);
//		}
//		if (!validator.validate(parameters.get(LAST_NAME))) {
//			map.put(LAST_NAME, WRONG_PARAMETER);
//		}

		return map;
	}

}
